from fastapi_mcp import FastApiMCP
import uvicorn

from api import app

mcp = FastApiMCP(
    fastapi= app,
    name ="mcpapi",
    description="MCP API",
    describe_all_responses=True,
    describe_full_response_schema=True,
)

mcp.mount()

if __name__ == "__main__":
    uvicorn.run(app, host="0.0.0.0", port=8000)